<template>
    <a-config-provider :locale="locale">
        <b-header :config="appViewConfig" />
        <router-view/>
        <a-back-top></a-back-top>
      </a-config-provider>

</template>


<script>
    //国际化
    import zhCN from 'ant-design-vue/es/locale/zh_CN';
    import {
        ConfigProvider,
        BackTop
    } from "ant-design-vue";
    import {
        appViewConfig
    } from "@vp/app.js"
    import BHeader from "./blocks/header.vue"
    export default {
        components: {
            BHeader,
            AConfigProvider: ConfigProvider,
            ABackTop: BackTop
        },
        setup() {
            return {
                appViewConfig,
                locale: zhCN,
            }
        }
    }
</script>
<style>
    @import url("./style.css");
</style>